package com.k2data.k2app.domain;

import lombok.Data;
import org.apache.activemq.command.ActiveMQMapMessage;

/**
 * Created by clb on 17-7-21.
 */
import javax.jms.JMSException;

@SuppressWarnings("unused")
@Data
public class K2Message  extends ActiveMQMapMessage {

	private long timestamp;

	private String user;

	private String space;

	private String body;

	public K2Message(ActiveMQMapMessage message) throws JMSException {
		super();
		this.map = message.getContentMap();
	}
}
